package com.mmd.common.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;

/**
 * table --> su_delivery_track
 * remarks --> 提单物流轨迹
 * columns --> trackId,deliveryNo,trackDesc,trackTime,updateTime
 */
@ApiModel(value = "su_delivery_track",description = "提单物流轨迹")
public class SuDeliveryTrack implements Serializable {
    /**
     * trackId
     * 
     */
    @ApiModelProperty(value="trackId",name="")
    private Long trackId;

    /**
     * deliveryNo
     * 提单号
     */
    @ApiModelProperty(value="deliveryNo",name="提单号")
    private String deliveryNo;

    /**
     * trackDesc
     * 供应商编码
     */
    @ApiModelProperty(value="trackDesc",name="供应商编码")
    private String trackDesc;

    /**
     * trackTime
     * 轨迹时间
     */
    @ApiModelProperty(value="trackTime",name="轨迹时间")
    private Date trackTime;

    /**
     * updateTime
     * 更新时间
     */
    @ApiModelProperty(value="updateTime",name="更新时间")
    private Date updateTime;

    private static final long serialVersionUID = 1L;

    public Long getTrackId() {
        return trackId;
    }

    public void setTrackId(Long trackId) {
        this.trackId = trackId;
    }

    public String getDeliveryNo() {
        return deliveryNo;
    }

    public void setDeliveryNo(String deliveryNo) {
        this.deliveryNo = deliveryNo == null ? null : deliveryNo.trim();
    }

    public String getTrackDesc() {
        return trackDesc;
    }

    public void setTrackDesc(String trackDesc) {
        this.trackDesc = trackDesc == null ? null : trackDesc.trim();
    }

    public Date getTrackTime() {
        return trackTime;
    }

    public void setTrackTime(Date trackTime) {
        this.trackTime = trackTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append(", trackId=").append(trackId);
        sb.append(", deliveryNo=").append(deliveryNo);
        sb.append(", trackDesc=").append(trackDesc);
        sb.append(", trackTime=").append(trackTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append("]");
        return sb.toString();
    }
}